package cn.itcast.bos.service.take_delivery;

import cn.itcast.bos.domain.take_delivery.Order;
import org.springframework.context.annotation.Scope;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;

public interface OrderService {

    @Path("/order")
    @POST
    @Consumes({ "application/xml", "application/json" })
    public void saveOrder(Order order);

    Order findByOrderNum(String orderNum);
}
